package com.library.dao;

import com.library.model.Book;
import java.util.List;
import java.util.Map;

public interface BookDao {
    List<Book> findAll();
    List<Book> findByCriteria(Map<String, Object> criteria);
    Book findById(Long id);
    Book findByIsbn(String isbn);
    int save(Book book);
    int update(Book book);
    int delete(Long id);
}
